package apa.wings.gwtCRUD.server.dao;

import javax.annotation.PostConstruct;
import javax.persistence.EntityManagerFactory;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import apa.wings.gwtCRUD.shared.dto.PersonDTO;

@Repository("personDAO")
public class PersonDAO extends JpaDAO<Long, PersonDTO> {

	@Autowired
	EntityManagerFactory entityManagerFactory;

	@PostConstruct
	public void init() {
		super.setEntityManagerFactory(entityManagerFactory);
	}

}
